package com.chenyuxin.ilp.model.entity.community.mysql;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("community_post")
public class CommunityPost {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String userId;

    private String title;

    private String content;

    private LocalDateTime createTime;

    private Integer likeCount;

    private Integer favoriteCount;

    private Integer commentCount;

    private Integer status;
}
